<section app-tutorial-content>
<p>
To do that, we need to utilize the <code>memory</code> property of each creep that allows writing custom information
into the creep's "memory". Let's do this to assign different roles to our creeps.
</p>
<p>
All your stored memory is accessible via the global <code>Memory</code> object. You can use it any way you like.
</p>
<div class='objective'>
<div class='fa fa-caret-right'></div>
Write a property <code>role='harvester'</code> into the memory of the harvester creep and <code>role='upgrader'</code>
&mdash; to the upgrader creep with the help of the console.
</div>
<div class='objective'>
<div class='fa fa-caret-down'></div>
Documentation:
<ul>
<li>
<a app-nw-external-link href='http://docs.screeps.com/global-objects.html#Memory-object' target='_blank'>
Memory object
</a>
</li>
<li>
<code><a app-nw-external-link href='http://docs.screeps.com/api/#Creep.memory' target='_blank'>
Creep.memory
</a></code>
</li>
</ul>
</div>
<app:tutorial-code></app:tutorial-code>
<div class='tutorial-controls'>
<md:button class='md-raised md-primary' ng:click='Tutorial.close()'>Got it</md:button>
</div>
</section>
